<%@ page import="java.util.Date" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>首页</title>
    <%
        request.setAttribute("APP_PATH",request.getContextPath());
    %>
    <link rel="stylesheet" href="${APP_PATH}/static/layui/css/layui.css"  media="all">
    <script src="${APP_PATH}/static/layui/layui.js" charset="utf-8"></script>
    <script src="${APP_PATH}/static/jquery.min.js"></script>
</head>
<body>
    <%
        Date date = new Date();
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
        String format = simpleDateFormat.format(date);
        request.setAttribute("format",format);
    %>
    <h1 align="center">当前时间为：${requestScope.format}</h1>
    <h1 align="center" style="color:red;">您输入的密码或账号错误，请重新输入</h1>
</body>
</html>
